package models

import "gorm.io/gorm"

type Comment struct {
	gorm.Model
	Context  string `gorm:"type:varchar(255);not null;comment:'内容'"`
	UserId   int    `gorm:"type:int(20);not null;comment:'用户Id'"`
	VideoId  int    `gorm:"type:int(20);not null;comment:'视频Id'"`
	FatherId int    `gorm:"type:int(20);not null;comment:'父Id'"`
}
